package load;

/**
 * @author: cuihao
 * @create: 2020-09-22 10:58
 **/
public class ClassLoad {
    static {
        System.out.println(123);
    }
    static void mm(){
        System.out.println(465423);
    }

    public void aaaaa() {
        System.out.println(7865);
    }

    public static void main(String[] args) throws InterruptedException {
        Object object = new Object();
        object.sout();
        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
        classLoader.getParent();
        boolean a = true;
        while (a){
            Thread.sleep(100);
            System.out.println("aaa");
        }
    }
}

